﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace AnlianCommon.Common.Domains.BeginningManagement
{
    /// <summary>
    /// 公羊期初
    /// </summary>
    public class Startofseason : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int SeasonId { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? Document { get; set; }
        /// <summary>
        /// 期初日期
        /// </summary>
        public DateTime? Openingdate { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? Auricle { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int? CottageId { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public int? Field { get; set; }
        /// <summary>
        /// 重量（公斤）
        /// </summary>
        public decimal? Weight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 只数
        /// </summary>
        public int? Elements { get; set; }
        /// <summary>
        /// 羊只档案
        /// </summary>
        public int? SheepId { get; set; }
        /// <summary>
        /// 羊只类型(0公羊，1母羊，2后裔)
        /// </summary>
        public int? SeasonType { get; set; }
    }

}
